---
title: ContentPartRuntime
---

import { ParametersTable } from "@/components/docs";
import { ContentPartState } from "@/components/docs/parameters/context";

### `useContentPart`

Access the content part state:

```tsx
import { useContentPart } from "@assistant-ui/react";

const part = useContentPart();
const partState = useContentPart.getState();

const status = useContentPart((m) => m.status);
const statusAgain = useContentPart.getState().status;
```

<ParametersTable {...ContentPartState} />
